
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
   <title>B2B Solutions</title>
   <style>
       form { 
            margin: 0 auto; 
            width:500px;
        }
   </style>
 </head>
 <body>
   <?php echo validation_errors(); ?>
   <?php echo form_open('login/verify'); ?>
     <form name="form" method="post" action="" autocomplete="off">
        <table style="border:1px solid #CCC; padding:5px">
        <tr>
        <td colspan="2" style="background:#003366; color:#FFF; font: 16px verdana; text-align: center">Login</td>
        </tr>
            
        <tr>
        <td>
        <input type="text" name="txtEmail" id="txtEmail" style="width:300px" placeholder="Email / User Name" />
        </td>
        </tr>
        
        <tr>
        <td>
        <input type="password" name="txtPassword" id="txtPassword" style="width:300px" placeholder="Password" />
        </td>
        </tr>
         
        <tr>
        <td style="text-align:center">    
        
        <input type="submit" name="submit" value="Login" style="background: #003366; color: #FFF; border-radius: 5px" />
        </td>
        </tr>
        </table>
         <?=isset($txtEmail)?'<span class="formError">'.implode(' | ', $txtEmail).'</span>':''?>
         <?=isset($txtPassword)?'<span class="formError">'.implode(' | ', $txtPassword).'</span>':''?>
         <?=isset($isValidUser)?'<span class="formError">'.print_r($isValidUser).'</span>':''?>
    </form>
 </body>
</html>

